﻿<Serializable()> _
Public Class Vendedor

    Private _id As Nullable(Of Long)
    Public Overridable Property Id() As Nullable(Of Long)
        Get
            Return _id
        End Get
        Set(ByVal value As Nullable(Of Long))
            _id = value
        End Set
    End Property


    'Private _idPessoa As Long
    'Public Overridable Property IdPessoa() As Long
    '    Get
    '        Return _idPessoa
    '    End Get
    '    Set(ByVal value As Long)
    '        _idPessoa = value
    '    End Set
    'End Property

    Private _pessoa As Pessoa
    Public Overridable Property Pessoa() As Pessoa
        Get
            Return _pessoa
        End Get
        Set(ByVal value As Pessoa)
            _pessoa = value
        End Set
    End Property


    'Private _idUsuario As Long
    'Public Overridable Property Usuario() As Long
    '    Get
    '        Return _idUsuario
    '    End Get
    '    Set(ByVal value As Long)
    '        _idUsuario = value
    '    End Set
    'End Property


    Private _usuario As Usuario
    Public Overridable Property Usuario() As Usuario
        Get
            Return _usuario
        End Get
        Set(ByVal value As Usuario)
            _usuario = value
        End Set
    End Property


End Class
